package com.hyy.service;

import com.hyy.bean.Cart;
import com.hyy.bean.Merchandise;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface CartService {
	boolean insert(Cart cart);

	boolean updateNum(Cart cart);
	Map<Merchandise,Long> showAllByUid(long uid);
	//删除购物车里商品
	boolean deleteMyCart(Long uid,Long mid);
	//
	boolean addOne(Long uid,Long mid);
}
